package com.wangziyu.facerecognitiongate.task.base

import kotlinx.coroutines.flow.StateFlow

/**
 * @description
 * @author wzy
 * @date 2025/08/10 02:20:11
 */
interface Task {
    val name: String
    val statusFlow: StateFlow<TaskStatus>  // 状态流，UI可订阅
    suspend fun execute()
}